<div id="comments">
  <a href="<?php echo $config['url'] ?>extend/rss/?what=discussion&amp;page=<?php echo $_GET['discuss'] ?>">RSS &raquo;</a>
  <div id="commentslist">
    <ol>
      <?php foreach($comments as $comment) { ?>
        <li>
          <div class="comment" id="<?php echo $comment['time'] ?>">
            <span class="commentheader">
            on <?php echo date("l, n/j/Y @ g:ia",$comment['time']+0); ?>, 
            <strong><?php echo $comment['name'] ?></strong> said:
            </span>
            <div class="commentbody"><?php echo parselinks(textilize($comment['body'])) ?></div>
          </div>
        </li>
      <?php } ?>
    </ol>
  </div>
  <div id="leave-a-comment">
    <h3>Leave a Comment</h3>
    <form method="post" action="controllers/write.php?name=<?php echo $page['name'] ?>">
      <input type="text" name="comment_name" /> Name<br />
      <textarea name="comment_body" rows="8" cols="40"></textarea><br />
      <input type="submit" value="Submit &raquo;" accesskey="s" /> use <a href="http://hobix.com/textile/quick.html">textile</a>
    </form>
  </div>
</div>